{%extends file="wap_user/page/layout.tpl"%}
{%block name="sub-head-static"%}
{%require name="wap_user:static/selldemand/selldemand.less"%}
{%require name="wap_user:static/selldemand/selldemand.js"%}
<script>
    P.data('data', {%json_encode($data)%});
</script>
{%/block%}

{%block name="body-container"%}
<div class='page-title'>赎回活期</div>
<div class="page-selldemand">
    <div class="preview-block">
        <section class="buy-preview">
            <div class="block1">
                <div>
                    <span>活期持有份额：</span>
                    <span>￥{%$data.total|format_amount:2%}</span>
                </div>
                <div class="buy-form">
                    <div class="form-line2">
                            <span class="input">
                                <span class="dollar">￥</span>
                                <input type="text" class="amount" placeholder="请输入赎回金额">
                            </span>
                    </div>
                </div>
            </div>
            <div class="block3">
                <div class="btn btn-main btn-redeem">赎回</div>
            </div>
        </section>
    </div>
    <div class="loading-block">
        <div class="page-subtitle">订单处理中</div>
        <div class="loading-icon"></div>
        <div class="loading-info">
            您的订单已提交，系统正在交易处理中…
        </div>
    </div>
    <div class="success-block">
        <div class='page-subtitle'>活期赎回成功</div>
        <div class="page-success">
            <section class="buy-preview">
                <div class="text-content">
                    您已成功赎回了￥<span class="amount"></span>元的真融宝活期。赎回的钱将转移到您的“账户余额”内。若想确认，您可至“账户总览”内查看您的账户余额。
                </div>
                <div class="btn-block">
                    <div class="btn btn-large wallet-btn">查看账户总览</div>
                </div>
            </section>
        </div>
    </div>
    <div class="fail-block">
        <div class='page-subtitle'>系统交易异常</div>
        <div class="page-success">
            <section class="buy-preview">
                <div class="text-content">
                    对不起，系统出现异常，请拨打我们的热线电话(400-600-4869)了解详细原因
                </div>
                <div class="btn-block">
                    <div class="btn btn-large wallet-btn">跳转至账户总览</div>
                </div>
            </section>
        </div>
    </div>
    <div class="timeout-block">
        <div class='page-subtitle'>系统交易繁忙</div>
            <div class="page-success">
                <section class="buy-preview">
                    <div class="text-content">
                        对不起，系统交易繁忙，请稍后在交易记录进行确认，如果有任何疑问，请拨打我们的热线电话(400-600-4869)了解详细原因。
                    </div>
                    <div class="btn-block">
                        <div class="btn btn-large trade-log-btn">查看交易记录</div>
                    </div>
                </section>
            </div>
        </div>
</div>
<div class=""></div>
{%/block%}